 |
 |
 |
 |
 |
 |
 |
 |
 |
|
The
only time the constructor is called is
|
|
 |
|
|
|
|
|
when the
programmer declares an instance
|
|
|
of the class,
which will automatically call the
|
|
|
constructor.
|
|
|
|
The
only time the destructor is called is when
|
|
 |
|
|
|
|
|
the instance of
the class is no longer needed.
|
|
|
NEITHER constructors NOR destructors
|
|
 |
|
|
|
|
|
RETURN
AN ARGUMENT! This means you
|
|
|
do not want to
try to return a value in them.
|
|